package com.zhou.index.comm.util;

import com.zhou.blog.controller.BlogController;
import com.zhou.photo.controller.PhotoController;

/**
 * Title：
 * Description：
 *
 * @author: zhouhy
 * @create 2017-11-13 14:51
 **/
public enum EnumHelper {
    BLOG_PATH(21, "./src/main/resources/public/upload/blog/"),
    BLOG_CLASS_PATH(22, BlogController.class.getResource("/").getPath()+"public/upload/blog/"),
    PHOTOT_PATH(31, "./src/main/resources/public/upload/photo/"),
    PHOTO_CLASS_PATH(32, PhotoController.class.getResource("/").getPath()+"public/upload/photo/"),

    NOT_DELETE(0,"未删除"),
    DELETED(1,"已删除"),

    OBJECT_IP(127,"127.0.0.1"),
    OBJECT_PROT(80,"80"),
    DOMAIN_NAME(8888,"http://127.0.0.1"),

    DATE_FULL_FORMAT(99, "yyyyMMddHHmmss");

    private Integer k;
    private String v;

    EnumHelper(Integer k, String v) {
        this.k = k;
        this.v = v;
    }

    public Integer k() {
        return k;
    }

    public String v() {
        return v;
    }
}
